* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.container {
    width: 1125px;
    height: auto;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.header-image {
    width: 1125px;
    margin: 0 auto;
    z-index: 1000;
    background: transparent;
}

.header-img {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    width: 100%;
    height: auto;
    background-color: transparent;
}

/* 适配移动端 */
@media screen and (max-width: 750px) {
    .container {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    .header-image {
        width: 100%;
    }

    .content {
        width: 100%;
        height: auto;
    }
} 

.image-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
} 

.carousel-container {
    width: 1080px;
    height: 607.5px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
} 

.image-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
} 

.carousel-vertical {
    width: 1080px;
    height: 607.5px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 20px;
}

.carousel-vertical .carousel-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-vertical .carousel-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 20px;
}

/* 优化轮播控制按钮样式 */
.carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-controls .prev-btn {
    left: 20px;
}

.carousel-controls .next-btn {
    right: 20px;
}

/* 优化指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 内容组样式 */
.content-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* 组之间的间距 */
}

/* 标题容器样式 */
.title-container {
    width: 100%;
    height: auto; /* 改为自适应高度 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; /* 标题和内容之间的间距 */
}

/* 内容容器样式 */
.text-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* 与下一个标题的间距 */
}

/* 标题图片样式 */
.title-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 内容图片样式 */
.text-container img {
    max-width: 100%;
    height: auto;
    display: block;
} 

/* 容器4的特殊样式 */
.content-wrapper {
    width: 1125px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 200px; /* 添加顶部内边距 */
}

.content-wrapper .title-container,
.content-wrapper .text-container {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.content-wrapper .title-container {
    margin-bottom: -50px;
    position: relative;
    z-index: 2;
}

.content-wrapper .text-container {
    margin-bottom: 20px;
}

.content-wrapper img {
    width: auto;
    height: auto;
    display: block;
    max-width: 1125px;
} 

/* 视频容器样式 */
.video-container {
    width: 1080px;
    position: relative;
    margin-bottom: 200px;
    cursor: pointer;
    z-index: 1;
}

.content-video {
    width: 100%; /* 填充容器宽度 */
    height: auto; /* 保持视频原始比例 */
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} 

/* 移动端适配 */
@media screen and (max-width: 750px) {
    .video-container {
        width: 100%;
    }
} 

/* 轮播图间距样式 */
.carousel-margin {
    margin: 200px 0;
} 